package com.zjgsu.nftplatform.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ahy231
 * @date 2022/3/6 11:52
 * @description
 */
@Data
@Builder
@ApiModel("区块链记录")
public class Record {
    @ApiModelProperty("操作")
    private String method;
    @ApiModelProperty("价格")
    private BigDecimal price;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("时间")
    private Date time;
    @ApiModelProperty("交易哈希值")
    private String hash;
}
